package model

import "gorm.io/gorm"

type Coupon struct {
	gorm.Model
	CouponName       string  `json:"coupon_name" gorm:"type:varchar(50);not null;comment:优惠卷名称"`
	CouponLimit      float64 `json:"coupon_limit" gorm:"type:decimal(10,2);not null;comment:优惠卷额度"`
	MinimumAvailable float64 `json:"minimum_available" gorm:"type:decimal(10,2);not null;comment:最低可用"`
}
